﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using Medianamik.Globalization;

namespace Medianamik.UI.Web.Services
{
    // NOTE: If you change the interface name "IResourceService" here, you must also update the reference to "IResourceService" in Web.config.
    [ServiceContract]
    public interface IResourceService
    {
        [OperationContract]
        IEnumerable<Resource> GetAllNewOrUpdatedResources(string clientAssemblyName, IEnumerable<String> cultureNames,
            DateTime lastResourcesUpdate);

        [OperationContract]
        IEnumerable<Resource> GetNewOrUpdatedResources(string clientAssemblyName, IEnumerable<String> cultureNames,
            DateTime lastResourcesUpdate, IEnumerable<string> resourceSets);
    }
}
